home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
vbsecex
/
secex.txt
< prev
next >
Wrap
Text File
|
1993-01-18
|
629b
|
15 lines
SECURITY EXAMPLE
BY BILL MILLER
THIS IS AN EXAMPLE OF A SECURITY TYPE PROGRAM.
IT RANDOMLEY PICKS A CODE THAT MUST BE ENTERED BY THE USER.
IF THE CODE IS WRONG IT WILL GIVE YOU A ERROR MESSAGE. THIS
IS MEANT TO BE A TEACHING TOOL, NOT TO BE USED IN YOUR PROGRAMS.
IF YOU TRY TO RUN THE PROGRAM, AND HAVE NOT PRINTED OUT
PASSWORD.TXT, YOU BETTER DO SO NOW. ON THE SECOND FORM, YOU WILL
SEE 2 TEXT BOXES, WHEN THE PROGRAM IS RUN, IT WILL BE INVISIBLE.
THE CODES ARE HARD CODED INTO THE PROGRAM. THERE IS LITTLE WAY
A HACKER CAN FIGURE THEM OUT. THERE IS ALSO THE EXE FILE ON THIS
DISK OF THE PROGRAM.